]> dgit.raspbian.org Git - gnome-shell.git/commit
screenshot: Only handle mode-switch shortcut when supported
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 7 Sep 2023 16:00:21 +0000 (18:00 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 7 Sep 2023 16:23:29 +0000 (18:23 +0200)
commit671df28a509ae208e158976f0855d91fdbea16a1
treebf99fcbd0fbf6007c5d616e8e1da8c7c94258ff2
parent521525948eed85cc27c0796a0b9569d161df81ba
screenshot: Only handle mode-switch shortcut when supported

We currently handle the 'v' key to switch between recording- and
screenshot mode regardless of whether screen recordings are
supported.

This is clearly wrong, don't do that.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6990

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2944>
js/ui/screenshot.js